package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.SpuSaleAttrValue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SpuSaleAttrValueMapper extends BaseMapper<SpuSaleAttrValue> {

    void saveSpuSaleAttrValueList(@Param("spuId") Long spuId,
                                  @Param("saleAttrName") String saleAttrName,
                                  @Param("spuSaleAttrValueList") List<SpuSaleAttrValue> spuSaleAttrValueList);
}
